package com.sky.wsp.jar.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wangshaopeng@talkweb.com.cn
 * @desccription 重打包信息
 * @date 2024/2/4
 */
public class RepackageInfo {
    /**
     * 要改造的SpringBoot fat jar 包路径
     */
    private String srcJarPath;
    /**
     * TongWeb证书文件、yml和property配置文件模板的存放路径
     */
    private String licenseAndConfigPath;
    /**
     * 嵌入式TongWeb的lib包路径
     */
    private String embedPath;
    /**
     * TongWeb-Reactor的lib包路径
     */
    private String embedReactorPath;
    /**
     * SpringBoot依赖包列表
     */
    private List<String> springBootList = new ArrayList<>();
    /**
     * SpringBootStarter依赖包列表
     */
    private List<String> springBootStarterList = new ArrayList<>();
    /**
     * Tomcat依赖包列表
     */
    private List<String> tomcatList = new ArrayList();
    /**
     * SpringBoot是否1.X版本
     */
    private boolean isStarter1x = false;
    /**
     * 是否使用JSP
     */
    private boolean needJspJar = false;
    /**
     * 是否使用Websocket
     */
    private boolean needWebsocketJar = false;
    /**
     * 是否使用SpringCloudGateway(netty-reactor)
     */
    private boolean needNetty = false;

    public String getSrcJarPath() {
        return srcJarPath;
    }

    public void setSrcJarPath(String srcJarPath) {
        this.srcJarPath = srcJarPath;
    }

    public String getLicenseAndConfigPath() {
        return licenseAndConfigPath;
    }

    public void setLicenseAndConfigPath(String licenseAndConfigPath) {
        this.licenseAndConfigPath = licenseAndConfigPath;
    }

    public String getEmbedPath() {
        return embedPath;
    }

    public void setEmbedPath(String embedPath) {
        this.embedPath = embedPath;
    }

    public String getEmbedReactorPath() {
        return embedReactorPath;
    }

    public void setEmbedReactorPath(String embedReactorPath) {
        this.embedReactorPath = embedReactorPath;
    }

    public List<String> getSpringBootList() {
        return springBootList;
    }

    public void setSpringBootList(List<String> springBootList) {
        this.springBootList = springBootList;
    }

    public List<String> getSpringBootStarterList() {
        return springBootStarterList;
    }

    public void setSpringBootStarterList(List<String> springBootStarterList) {
        this.springBootStarterList = springBootStarterList;
    }

    public List<String> getTomcatList() {
        return tomcatList;
    }

    public void setTomcatList(List<String> tomcatList) {
        this.tomcatList = tomcatList;
    }

    public boolean isStarter1x() {
        return isStarter1x;
    }

    public void setStarter1x(boolean starter1x) {
        isStarter1x = starter1x;
    }

    public boolean isNeedJspJar() {
        return needJspJar;
    }

    public void setNeedJspJar(boolean needJspJar) {
        this.needJspJar = needJspJar;
    }

    public boolean isNeedWebsocketJar() {
        return needWebsocketJar;
    }

    public void setNeedWebsocketJar(boolean needWebsocketJar) {
        this.needWebsocketJar = needWebsocketJar;
    }

    public boolean isNeedNetty() {
        return needNetty;
    }

    public void setNeedNetty(boolean needNetty) {
        this.needNetty = needNetty;
    }
}
